﻿<%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage<dynamic>" %>
<%@ Import Namespace="EIIS.Infrastructure.Model.System.Authority" %>
<%@ Register Src="../Shared/Header.ascx" TagName="Header" TagPrefix="uc1" %>
<!DOCTYPE html>
<html>
<head runat="server">
    <title>新增功能权限</title>
    <uc1:Header ID="Header1" runat="server" />
</head>
<body class="easyui-layout" fit="true">
    <div region="center" border="false" fit="true">
        <form region="center" border="true" fit="true" id="form" method="post" action="/ActionPermission/Save">
        <input type="hidden" id="id" name="entity.Id" value="<%= ((ActionPermission)this.ViewData["entity"]).Id %>" />
        <input type="hidden" id="ControllerName1" name="entity.ControllerName" value="<%= ((ActionPermission)this.ViewData["entity"]).ControllerName %>" />
        <input type="hidden" id="ActionID" name="entity.ActionID" value="<%= ((ActionPermission)this.ViewData["entity"]).ActionID %>" />
        <table>
            <tr>
                <td style="text-align: right; width: 120px;">
                    功能名称(<font color="red">*</font>)：
                </td>
                <td>
                    <select class="easyui-validatebox" required="true" name="entity.ActionName" value="<%= ((ActionPermission)this.ViewData["entity"]).ActionName %>" id="ActionName" style="width:164px;" />
                </td>
            </tr>
            <tr>
                <td style="text-align: right; width: 120px;">
                    模块名称(<font color="red">*</font>)：
                </td>
                <td>
                    <input type="text" class="easyui-validatebox" required="true" id="ControllerName" disabled="disabled" style="width:160px;"/>
                   
                </td>
            </tr>            
            <tr>
                <td style="text-align: right; width: 120px;">
                    功能描述：
                </td>
                <td>
                    <textarea class="easyui-validatebox" style="width: 200px;" rows=3 name="entity.Description" validType="length[1,100]" id="Description" ><%= ((ActionPermission)this.ViewData["entity"]).Description%></textarea>
                </td>
            </tr>
        </table>
        </form>
    </div>
</body>
</html>
